﻿using Adnc.Application.Shared.Dtos;
using System;
using System.Collections.Generic;
using System.Text;

namespace WYT.Pro.Application.Contracts.Dtos.Product
{
    /// <summary>
    /// 商品规格和价格
    /// </summary>
    public class ProductSizeDto : IDto
    {
        /// <summary>
        /// 规格ID
        /// </summary>
        public long SizeID { get; set; }

        /// <summary>
        /// 是否是默认规格
        /// </summary>
        public bool IsDefalut { get; set; }
        /// <summary>
        /// 规格名字
        /// </summary>
        public string SizeName { get; set; }
        /// <summary>
        /// 缩略图
        /// </summary>
        public string Thumbnail { get; set; }

        /// <summary>
        /// 代理积分
        /// </summary>
        public int ProxyIntegral { get; set; }

        /// <summary>
        /// 原价
        /// </summary>
        public decimal OriginalPrice { get; set; }

        /// <summary>
        /// 当前价格
        /// </summary>
        public decimal CurrentPrice { get; set; }

        /// <summary>
        /// 差价
        /// </summary>
        public decimal PriceDiff { get; set; }

        /// <summary>
        /// 库存
        /// </summary>
        public int Inventory { get; set; }

        /// <summary>
        /// 赠品信息
        /// </summary>
        public List<ProductGiftDto> Gift { get; set; }
    }
}
